
package com.jf.cloud.group.dto;

import com.jf.cloud.common.order.dto.OrderDTO;
import io.swagger.v3.oas.annotations.media.Schema;

import javax.validation.constraints.NotNull;

/**
 * 拼团订单
 *
 * @author zz
 * @date 2021-04-07 10:39:32
 */
public class GroupOrderDTO extends OrderDTO {

    @NotNull(message = "活动商品规格Id不能为空")
    @Schema(description = "拼团商品规格Id" , required = true)
    private Long groupSkuId;

    public Long getGroupSkuId() {
        return groupSkuId;
    }

    public void setGroupSkuId(Long groupSkuId) {
        this.groupSkuId = groupSkuId;
    }

    @Override
    public String toString() {
        return "GroupOrderDTO{" +
                ", groupSkuId=" + groupSkuId +
                '}';
    }
}
